<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs-popup.jsp" %>
<%@ taglib prefix="g" uri="http://geni-max.com/tags" %>
<style>
  .col1 {
    width: 10%;
  }
  .col2 {
    width: 40%;
  }
  .col3 {
    width: 50%;
  }
 
</style>
<g:panel>
	<div class="currentPosition">
		<g:property value="%{getText('current.position')}"></g:property>
		<g:property value="%{getText('resource.edit')}"></g:property>
	</div>
</g:panel>
<g:panel>
	<g:actionmessage></g:actionmessage>
	<g:actionerror></g:actionerror>
	<g:form namespace="/account" action="edit" validate="true" method="post">
		<g:hidden name="id" value="%{id}" />
		<g:grid cols="3"  colCssClassList="{'col1', 'col2', 'col3'}">
	        <g:textfield name="entity.title" value="%{entity.title}" key="resource.title" required="true" inputcolspan="2"/>
	        <g:newline/>
	        <g:textfield name="entity.url" value="%{entity.url}" key="resource.url" required="true" inputcolspan="2"/>
	      	<g:fieldgroup name="group" inputcolspan="2">
				<g:submit align="center" key="button.submit"/>
				<g:reset align="center" key="button.reset"/>
			</g:fieldgroup>
		</g:grid>
	</g:form>
</g:panel>